package com.twu.biblioteca;

public class BibliotecaApp {

    public static void main(String[] args) {
        Menu menu = new TopMenu(new BookList("resources/book_list.xml"), new BookList(), new MovieList("resources/movie_list.xml"), new MovieList());
        int option;

        while (true) {
            menu.printMenu();
            option = menu.readInputOption();
            menu = menu.handleOption(option);
        }
    }
}
